<?php
	include '../config.php';
	include '../include/ez_sql_core.php';
	include '../include/ez_sql_mysql.php';
	mb_internal_encoding("UTF-8");
	$db = new ezSQL_mysql($config['db']['dbuser'],$config['db']['dbpw'],$config['db']['dbname'],$config['db']['dbhost']);
	$db->query('set names '.$config['db']['dbcharset']);
	extract($_REQUEST);
	$sql = "select title,UNIX_TIMESTAMP(time),contect,part from contents where del = 0 and id = ".$id;
	$result = $db->get_row($sql,ARRAY_N);
	$time = getdate($result[1]);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php
				if($result[3]=='news'){
				echo "新闻信息";
			}else if($result[3]=='services'){
				echo "专业服务";
			}else if($result[3]=='projects'){
				echo "项目介绍";
			}
			?> - 华硕投资</title>
<meta name="copyright" content="2001-2011 hs-i.NET" />
<link rel="archives" title="华硕投资" href="http://www.hs-i.cc" />
<meta name="keywords" content="华硕投资" />
<meta name="description" content="<?php echo mb_substr(preg_replace("/([\r\n]|[\s]|[\ ])+/","",strip_tags($result[2])), 0, 200);?>" />
<meta name="generator" content="Media4Studio.com" />
<meta name="author" content="蓝龙互动传播机构" />
<meta name="copyright" content="2001-2011 华硕投资" />
<link rel="shortcut icon" href="/favorite.ico" type="image/x-icon" /> 
<link href="/sc/css/base.css" rel="stylesheet" type="text/css" />
<link href="/sc/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
<div class="head">
    	<h1 class="logo"><a href="/">华硕投资</a></h1>
        <div class="nav">
        	<a href="/sc/index.html" class="n1">首页</a>
            <a href="/sc/company/cp.html" class="company n2">公司概况</a>
            <a href="/sc/list/news.html" class="n3">新闻信息</a>
            <a href="/sc/list/services.html" class="n4">专业服务</a>
            <a href="/sc/list/projects.html" class="n5">项目介绍</a>
            <a href="/sc/contact/bi.html" class="n6">合作伙伴</a>
            <a href="/sc/index.html" class="lan">简体</a><a href="/tc/index.html" class="lan">繁体</a>
         <div class="box">
        	<ul>
            	<li>▪<a href="/sc/company/cp.html">公司简介</a></li>
                <li>▪<a href="/sc/company/ph.html">公司理念</a></li>
                <li>▪<a href="/sc/company/mt.html">管理团队</a></li>
                <li>▪<a href="/sc/company/ho.html">资质荣誉</a></li>
            </ul>
        </div>
        </div>
    </div>
  <div class="con <?php
		if($result[3]=='news'){
			echo "list_bg";
		}else if($result[3]=='services'){
			echo "list_bg2";
		}else if($result[3]=='projects'){
			echo "list_bg3";
		}
	?>">
    <div class="<?php
		if($result[3]=='news'){
			echo "con_bg";
		}else if($result[3]=='services'){
			echo "con_bg2";
		}else if($result[3]=='projects'){
			echo "con_bg3";
		}
	?>">
        <div class="r_tit"> <a href="/sc/index.html">首页</a>>
		<?php
			if($result[3]=='news'){
				echo "<a href='/sc/list/news.html' class='blue'>新闻信息</a>";
			}else if($result[3]=='services'){
				echo "<a href='/sc/list/services.html' class='blue'>专业服务</a>";
			}else if($result[3]=='projects'){
				echo "<a href='/sc/list/projects.html' class='blue'>项目介绍</a>";
			}
		?>
		</div>
        <div class="news_con">
        	<h2><?php echo $result[0];?></h2>
            <p class="f_dat" <?php echo ($result[3] == 'news')?'':(("style='display:none'"));?> >发布时间： <?php echo $time['year']?>年<?php echo $time['mon']?>月<?php echo $time['mday']?>日  <?php echo $time['hours']?>：<?php echo $time['minutes']?>：<?php echo $time['seconds']?></p>
            <div class="news_m"><?php echo $result[2];?><br><br></div>
      </div>
      </div>
    </div>
<div class="foot_bg">
  <div class="foot">
    <div class="flt">
      <p><img src="/sc/images/sc/f_x.jpg" width="269" height="59"  alt="广州华硕投资有限公司" /></p>
    </div>
    <div class="f_menu">
    <p class="ba">粤ICP备11007417号-1 &nbsp;<a href="http://www.lanon.com.cn" target="_blank">Powered by Lanon</a>&nbsp;<script src="http://s14.cnzz.com/stat.php?id=3385713&web_id=3385713&show=pic1" language="JavaScript"></script></p>
    <p class="fb"><a href="/sc/contact/cu.html" class="f1">联系我们</a><a href="/sc/contact/sm.html" class="f2">网站地图</a><a href="/sc/contact/ln.html" class="f3">法律声明</a><a href="/sc/contact/li.html" class="f4">友情链接</a><a href="#5" class="f5">企业邮局</a>
    </p></div>
  </div>
</div>
</div>
<script type="text/javascript" src="/sc/js/jquery.js"></script>
<script type="text/javascript" src="/sc/js/nav.js"></script>
</body>
</html>